package com.voltmao.webpro.utils.wechat.app;

import com.voltmao.webpro.utils.wechat.IWechatUtils;

/**
 * Created by zhouyang on 2017/5/7.
 * 命令处理函数
 */
public abstract class CommandHandler {
    /**
     * 命令名
     *
     * @return
     */
    protected abstract String getName();

    /**
     * 描述
     *
     * @return
     */
    public abstract String getDes();


    public abstract boolean getIsShow();

    /**
     * 返回响应消息字符串
     *
     * @param wechatUtils
     * @param openId
     */
    public abstract String responseMsg(IWechatUtils wechatUtils, String openId, ICommandController commandController);
}
